package com.xinhe.web.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
@ApiModel(description = "订单退款查询视图")
public class OrderReturnView {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("会员id")
    private Long userId;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单项id")
    private Long orderItemId;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("退款类型")
    private String returnType;
    @ApiModelProperty("退款原因")
    private String cause;
    @ApiModelProperty("退款金额")
    private BigDecimal returnFee;
    @ApiModelProperty("退款描述")
    private String remark;
    @ApiModelProperty("订单编号")
    private String code;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("用户头像")
    private String userIconPath;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("商品名称")
    private String goodsName;
    @ApiModelProperty("商品图标")
    private String goodsIconPath;
    @ApiModelProperty("用户手机号")
    private String mobile;
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("规格名称")
    private String priceName;

}
